package com.ruoyi.candidate.domain;

import java.io.Serializable;
import java.util.Date;

public class Candidate implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String id_number; // 身份证号，数据库中的字段为 id_number
    private String name;
    private String gender;
    private Date birth_date; // 出生日期，数据库中的字段为 birth_date
    private String ethnicity_id; // 民族ID，数据库中的字段为 ethnicity_id
    private String political_status_id; // 政治面貌ID，数据库中的字段为 political_status_id
    private String foreign_language_id; // 外语语言ID，数据库中的字段为 foreign_language_id
    private String phone;
    private String password;
    private String vocational_college_id; // 专科院校ID，数据库中的字段为 vocational_college_id
    private String vocational_major_id; // 专科专业ID，数据库中的字段为 vocational_major_id
    private String candidate_type_id; // 考生类型ID，数据库中的字段为 candidate_type_id
    private String exam_center_city_id; // 考点盟市ID，数据库中的字段为 exam_center_city_id
    private String exam_major_id; // 报考专业ID，数据库中的字段为 exam_major_id
    private String volunteer_college_id; // 志愿院校ID，数据库中的字段为 volunteer_college_id
    private String volunteer_major_id; // 志愿专业ID，数据库中的字段为 volunteer_major_id
    private String is_certificate_issued; // 使用 String 来匹配数据库中的枚举值
    // 是否获得证书，数据库中的字段为 is_certificate_issued
    private String address;
    private String postal_code; // 邮编，数据库中的字段为 postal_code
    private String recipient_name; // 收件人，数据库中的字段为 recipient_name

    // Getters and Setters
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getId_number() {
        return id_number;
    }

    public void setId_number(String id_number) {
        this.id_number = id_number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getBirth_date() {
        return birth_date;
    }

    public void setBirth_date(Date birth_date) {
        this.birth_date = birth_date;
    }

    public String getEthnicity_id() {
        return ethnicity_id;
    }

    public void setEthnicity_id(String ethnicity_id) {
        this.ethnicity_id = ethnicity_id;
    }

    public String getPolitical_status_id() {
        return political_status_id;
    }

    public void setPolitical_status_id(String political_status_id) {
        this.political_status_id = political_status_id;
    }

    public String getForeign_language_id() {
        return foreign_language_id;
    }

    public void setForeign_language_id(String foreign_language_id) {
        this.foreign_language_id = foreign_language_id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getVocational_college_id() {
        return vocational_college_id;
    }

    public void setVocational_college_id(String vocational_college_id) {
        this.vocational_college_id = vocational_college_id;
    }

    public String getVocational_major_id() {
        return vocational_major_id;
    }

    public void setVocational_major_id(String vocational_major_id) {
        this.vocational_major_id = vocational_major_id;
    }

    public String getCandidate_type_id() {
        return candidate_type_id;
    }

    public void setCandidate_type_id(String candidate_type_id) {
        this.candidate_type_id = candidate_type_id;
    }

    public String getExam_center_city_id() {
        return exam_center_city_id;
    }

    public void setExam_center_city_id(String exam_center_city_id) {
        this.exam_center_city_id = exam_center_city_id;
    }

    public String getExam_major_id() {
        return exam_major_id;
    }

    public void setExam_major_id(String exam_major_id) {
        this.exam_major_id = exam_major_id;
    }

    public String getVolunteer_college_id() {
        return volunteer_college_id;
    }

    public void setVolunteer_college_id(String volunteer_college_id) {
        this.volunteer_college_id = volunteer_college_id;
    }

    public String getVolunteer_major_id() {
        return volunteer_major_id;
    }

    public void setVolunteer_major_id(String volunteer_major_id) {
        this.volunteer_major_id = volunteer_major_id;
    }

    public String getIs_certificate_issued() {
        return is_certificate_issued;
    }

    public void setIs_certificate_issued(String is_certificate_issued) {
        this.is_certificate_issued = is_certificate_issued;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostal_code() {
        return postal_code;
    }

    public void setPostal_code(String postal_code) {
        this.postal_code = postal_code;
    }

    public String getRecipient_name() {
        return recipient_name;
    }

    public void setRecipient_name(String recipient_name) {
        this.recipient_name = recipient_name;
    }
}
